<!--
 * @Author: TonyJiangWJ
 * @Date: 2020-11-29 13:17:06
 * @Last Modified by: TonyJiangWJ
 * @Last Modified time: 2020-12-30 09:21:06
 * @Description: 
-->
<!DOCTYPE html>
<html lang=en>

<head>
  <meta charset=utf-8>
  <meta http-equiv=X-UA-Compatible content="IE=edge">
  <meta name=viewport content="width=device-width,initial-scale=1">
  <title>可视化测试工具</title>
  <link rel="stylesheet" href="https://cdn.bootcdn.net/ajax/libs/vant/2.12.47/index.min.css" />
  <link rel="stylesheet" href="../../vue_configs/css/style.css" />
  <!-- <script src="https://fastly.jsdelivr.net/npm/vue@2.6/dist/vue.min.js"></script> -->
  <script src="https://cdn.bootcdn.net/ajax/libs/vue/2.6.9/vue.js"></script>
  <script src="https://cdn.bootcdn.net/ajax/libs/vue-router/3.5.3/vue-router.js"></script>
  <script src="https://cdn.bootcdn.net/ajax/libs/vant/2.12.47/vant.js"></script>
</head>

<body>
  <noscript><strong>We're sorry but this doesn't work properly without JavaScript enabled. Please enable
      it to continue.</strong></noscript>
  <div id=app class="root-container" v-cloak style="min-height:755px;background: #ffffff;">
    <!-- <image-data-visual-test /> -->
    <router-view></router-view>
  </div>
</body>
<script type="text/javascript">
  /**
   * 禁用长按菜单，复制等 
   **/
  window.addEventListener('contextmenu', function (e) {
    e.preventDefault()
  })
  // 直接浏览器调试时，mock js bridge方法
  if (typeof $app === 'undefined') {
    window.$app = {
      mock: true,
      invoke: (bridgeName, data, callback) => { },
      receiveMessage: params => { },
      registerFunction: (functionName, func) => { }
    }
    window.$nativeApi = {
      request: (bridgeName, data) => { return Promise.resolve({}) }
    }
    setTimeout(() => {
      window.$app.mock = false
    }, 5000)
  }
</script>
<script src="../../vue_configs/js/components/common.js"></script>
<script src="./js/components/visual_test.js"></script>
<script src="./js/components/index.js"></script>
<script src="./js/index.js"></script>
<script src="./js/app.js"></script>
</html>